package com.ruoyi.client.mapper;

import com.ruoyi.client.domain.SysBuy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysBuyMapper {
    List<SysBuy> sysBuyList(String symbol);

    void add(SysBuy sysBuy);

    SysBuy getSysBuyByPrice(@Param("symbol") String symbol,@Param("buyPrice") String buyPrice);

    void updateHandsByIds(@Param("id") Integer id, @Param("hands") String hands);

    List<SysBuy> sysBuyListAll(String symbol);

}
